 //侧滑菜单栏
 import 'package:flutter/material.dart';
 
 class HomeDrawer extends StatefulWidget {
   @override
   State<StatefulWidget> createState() {
     return new _HomeDrawer();
   }
 
 }
 
 class _HomeDrawer extends State<HomeDrawer> {
   @override
   Widget build(BuildContext context) {
     //一个控制面板可以水平的从边上划入，用来展示一些导航信息，即抽屉
     return new Drawer(
       //抽屉的占比
       elevation: 14,
       child: Scaffold(
         appBar: new AppBar(
           title: new Text("电影App"),
           elevation: 50,
         ),
         body: new Text("Drawer"),
       ),
     );
   }
 }
 